<template>
  <div class="RemoveBlock" v-bind:style="Style"></div>
</template>
<script>
import RemoveSelected from "@/assets/img/remove_selected.png"
import RemoveUnselected from "@/assets/img/remove_unselected.png"
export default {
  data(){
    return {
      state:0
    }
  },
  methods:{
    setSelected(v){this.state = v}
  },
  computed:{
    Style(){
      let _this = this
      let _url = null
      if (_this.state){_url = RemoveSelected}else{_url = RemoveUnselected}
      return {
        background: 'url('+_url+') no-repeat'
      }
    }
  }
}
</script>
<style scoped>
.RemoveBlock{display: block;width: 2.13rem;height: 2.13rem;background-size: cover !important;}
</style>
